package com.wmd.core.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wmd.core.operation.UnionCriteria;

import java.util.List;
import java.util.Map;

/**
 * Simple to Introduction
 *
 * @projectName:scs-platform
 * @packageName:com.wmd.scs.service
 * @className:UnionService
 * @Description:[一句话描述该类的功能]
 * @Author:luyincheng
 * @CreateDate:2021/1/20 17:26
 * @blog:[方法具体上行/下行参数文档]
 */
public interface UnionService {
    IPage<Map<String, Object>>  selectByUnionCriteria(Page<?> page, UnionCriteria unionCriteria, boolean isSQL);
    List<Map<String, Object>>  selectByUnionCriteriaNonePage(UnionCriteria unionCriteria, boolean isSQL);

    IPage<Map<String, Object>>  selectByUnionCriteria(String DS,Page<?> page, UnionCriteria unionCriteria, boolean isSQL);
    List<Map<String, Object>>  selectByUnionCriteriaNonePage(String DS,UnionCriteria unionCriteria, boolean isSQL);
    public List<String> listDataSource();
}
